<?php
// +----------------------------------------------------------------------
// | 系统扩展配置
// +----------------------------------------------------------------------

use owns\middleware\ServerAuthMiddleware;
use think\facade\Route;

Route::group('develop', function () {
    /**
     * 地区管理
     */
    Route::group('district', function () {
        Route::get('list', 'list'); //列表
        Route::post('edit', 'edit'); //编辑
        Route::post('status', 'status'); //状态
        Route::get('info', 'info'); //详情
        Route::post('import', 'import'); //导入
        Route::get('option', 'option'); //选项
    })->prefix('develop.District/');
    /**
     * 应用图库
     */
    Route::group('map', function () {
        Route::get('list', 'mapList'); //列表
        Route::post('edit', 'mapEdit'); //编辑
        Route::post('status', 'mapStatus'); //状态
        Route::post('delete', 'mapDelete'); //删除
    })->prefix('develop.Apply/');
    /**
     * 应用中心
     */
    Route::group('center', function () {
        Route::get('list', 'centerList'); //列表
        Route::post('edit', 'centerEdit'); //编辑
        Route::post('status', 'centerStatus'); //状态
        Route::post('delete', 'centerDelete'); //删除
    })->prefix('develop.Apply/');

})->middleware(ServerAuthMiddleware::class);
